package com.example.learn.service.impl;


import com.example.learn.mapper.QuadrantMapper;
import com.example.learn.pojo.Quadrant;
import com.example.learn.service.QuadrantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class QuadrantServiceImpl implements QuadrantService {

    @Autowired
    QuadrantMapper quadrantMapper;


    @Override
    public List<Quadrant> getQuadList() {
        return quadrantMapper.getQuadList();
    }

    @Override
    public int updateQuadrant(Quadrant quadrant) {
        return quadrantMapper.updateQuadrant(quadrant);
    }
}
